package com.citytransport.prokopjuk.dao;

import java.util.ArrayList;

import com.citytransport.prokopjuk.vehicleDTO.Tram;

public interface IDAOTram {
    void creat(Tram tram);
    
    Tram read(int tramID);
    
    ArrayList<Tram> readAll();
    
    ArrayList<Tram> readAtRoute(int routeID);
    
    void update (Tram tram, int seatAmount, String registrationNumber,
	    String model, int routeID, boolean speedy, int amountVagon);
    
    void delete(Tram tram);
    
    void deleteAll();
}
